Update cms.js

fixed a bug which causes client side crash