added browser storage and polygon removal