fix gmap js syntax errors