Improved module loading in browser.