js changes to go with IP fetching via URL