Compass made in phonegap. Original: https://www.youtube.com/watch?v=Xwc-bhDRQaY