Core WebGL/DeviceOrientation compass.js rewrite