This page http://www.distance-calculator.co.uk/world.php uses Javascript to deliver what you require. If you want to calculate the distance for
to
you'll need to enable it to see maps, calculate fuel costs and directions.