Port to JavaScript

Removed all instances of coffeescript