remove ununsed map data
modify incorrect javascript reference