Made Model.js work with nodejs.