js get_inventory