Fixing UMD globals and expanding request handler to allow for stored requests