JavaScript CMS utilities