Coffee version of index.js