Fixed everything jshint complained about