script code minimized in admin layout