Do correct redirection in Javascript

Rewrite http://192.168.1.111:8080/isnotthere to the correct URL http://192.168.1.111:8080/sabnzbd/.
So: rewrite <...>/isnotthere to <...>/sabnzbd/, keeping in place protocol, hostname and port.