component.removeScriptListener(FORM_SCRIPT_LOADER);
component.removeScriptListener(FORM_SCRIPT);
    public void uninstallCG(final SComponent comp) {        final SFrame component = (SFrame) comp;        component.removeDynamicResource(DynamicCodeResource.class);        component.removeDynamicResource(DynamicStyleSheetResource.class);        component.removeDynamicResource(DynamicScriptResource.class);        component.removeScriptListener(FORM_SCRIPT_LOADER);        component.clearHeaders();    }