Update the URL in the javascript