Fixed vrui.js so it works on other browsers.