Converted all js files to coffeescript