requirejs working with multipage shim support