Compass Application with PhoneGap