Create inventory.js