Update Model.js

The solution doesn't work under linux.