Changed test/main.coffee to main.js