Move this to our own VR .js file.