Hacky fix in the current (temporary) JS redirector

I know it's not nice. But the whole thing of using JS there instead of using AJAX and respond_to is temporary c...p from the pre-Mojo days.