Prevent possible var leaking reported by JSHint