Update model_factory.js

method set can return self for shorthand model modifications use by another method
Merge pull request #12 from ifElser/master

a little model.set feature