refactored model.js
moved css changes to higher timer
Merge pull request #15 from JeuelyFish/refactor

refactored model.js