Update inventory.js