Adds self.scriptCache in service worker global scopes. Refs #193