refactor the google map script.