Fixed a bug in 'browser-modules' that means we now get a decent error
message when we require something that isn't there.