change some icon in api nav
update the js logic