JavaScript Google Maps application to draw and display routes