Linting Javascript File

Pair programming with @thinktt, and caught a few minor issues. Still more to look at. Touches #7
Merge pull request #8 from thinktt/jshint

Linting Javascript File