Replace coffee-script syntax in javascript file