Updated 'browser-modules' to allow the require() function to be overriden for the purposes of testing.