jquery latlong, basic index compass