JSHint minor fixes