Change the document root for the javascript proxy.