Switch JS to Coffeescript