Begin task of properly organizing the javascript files.
More reorganizing.
Even more reorganization!!!
Keep on cleaning.
Merge pull request #60 from appneta/organize-js

Add some structure and organization to javascript