createSimpleObject() in contentparams.js made more proper.