Fixed all errors found by the new jsHint Config