Fixed baseUrl in client.html to only remove the last instance of __intern from the url path