Update model.js
Merge pull request #2199 from gslot/patch-1

Update model.js