Update createContents.js