Fix JS error in jquery.cms.js