Fixed remotetab JS for weirdness when extension through crap into the html