Fixed everything that pissed off JSHint