finished refreshinventory in webui

commit so late because I forgot. =D