fix script to work both versions of 2gis site