PHP and Javascript solutions to hard challenge #141 - Flight 370 (KML, geo distance)