Correct JSHint errors