user.js to user.coffee