-tweaked some jshint errors