Fix JSHint remarks