fixed rul for gmap javascript