support for mutipage-shim

allows for implementing a shimmed require.config() as shown in
https://github.com/requirejs/example-multipage-shim