Update pages.js.coffee