public FromString setWindow(final JavaScriptObject window) {
            this.window = window;
            return this;
        }
@param window Specify which window to use to install the script. If not
              specified, the top current window GWT is loaded in is
              used.
stroom-core-client/src/main/java/stroom/dashboard/client/vis/MyScriptInjector.java