Tweaks to cms frontend js