More JSHint fixes