Synchronous require for browsers