Reorg and Lint

* Restructured app to accommodate future Gulp build.
* Linted all js files.