Create Quaternion-based DeviceOrientationControls.js version