Cleaned up with JSHint

I used [JSHint](http://jshint.com) to tidy up the code. There wasn't much to change, actually, it's a fairly well laid out project. :)