JSHint cleanup