TrackMyCabs with pure JavaScript