custom.js to coffee