Fix URLs so they show the correct information again

When you created a redirect from the normal http to the https version of tools.alecgorge.com, the Java script broke because it doesn't recognize redirects. This fixes it so that it will show the correct external IP instead of `[JSONAPI] External IP: <html>`.