Update and rename index.js to index.coffee

Converting to coffeescript