Basic js structure
Added timeout function.
Tested method by integrated with Jesse's collabedit. Works.
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
Remove error checking on add_timeout
Merge pull request #61 from jivid/structure_js

Refactor JS code to add structure
Merge pull request #59 from jivid/timeout_as_utils

Timeout as utils
Merge with divij's changes.