fixed bug with js creation of geomarkers