Fix references to module/require for browser.