Fix the JS poll URL