Basic js structure
Complete structural changes
Remove extra js files
Some comments, move noteview creation out of main
Add long capture to notes
Convert _this to $.proxy
Remove unused initClient
Extra _this, add count for note sync
Remove client defaults
Minor changes in socket open handler
Merge pull request #61 from jivid/structure_js

Refactor JS code to add structure