Update model.coffee

Clean up defaults on disposal.
Merge pull request #792 from andriijas/patch-1

Update model.coffee