Some JSHint cleanup