Change static_pages.js file to coffeescript