Ok - i've removed the javascript magic so its just basic localhost:9990 in the pullrequest.I liked the javascript magic, because in all my testing the first thing I do is change the "default" interface from localhost to the IP address of the server, since I do all my testing on a headless server, and use the console from my laptop.
Hmm.....