set view property to states
Merge branch 'master' of https://github.com/classdojo/mojo.js