Update Model.js
Update Object.js
Update Model.js
Merge pull request #11 from BillsJ/master

the first commit will probably be wrong because I've probable misunderstood side effects grumble grumble