js file conver to coffeescript'