Fixed a few things from jshint