Closes #1. Made Model.js work with nodejs.
Merge pull request #3 from mcmlxxxiii/0001-make-Model-work-with-nodejs

Closes #1. Made Model.js work with nodejs.