update transit script

correctly calling the google maps api