declare local variable require as global['require'] for closure compilation