JavaScript library for CMS