Justin Bieber compass app - jQuery and PhoneGap