replace index.coffee with index.js