Update inventories.js
Merge inventories and equipped inventories.