index.js to index.coffee