Converted all JS to coffeescript.