Update index.js to work with coffee script > 1.7.0