Update view.js

Add support for copying number to clipboard
fix a few semicolon issues
Update view.js

fix getting the value from the model
Merge pull request #162 from joemarini/master

Add copy to clipboard feature