Updated contents.js