protected ScriptLoadItem processScript(ScriptResource resource)
		{
			// TODO: This prevents us from referencing scripts on-page because these parent script trees
			// are built once for the app for all AppScripts, then repeatedly and lost on each request for all
			// PageScripts
			if (resource.ParentScripts == null)
				resource.BuildParentScripts();
			ScriptLoadItem script = new ScriptLoadItem(resource);
			ProcessedScripts[resource] = script;
			return script;
		}
		public ScriptLoadItem(ScriptResource script)
		{
			Script = script;
		}