[TASK] Reduce inline JavaScript in ext:setup