Convert js file to coffeescript