Update model.js.coffee