Update vr-widget.js

small bugs