jshint'ed the bejeesus out of our JS.