updated cms.js to current version