Refactoring vr.js.