a compass made in phonegap