Synchronous require() for browsers