jQuery Mobile - Compass Conversion