JS content editor tweaks