Z-Inventory is an RPG style inventory system complete with bank storage and vendor scripts. It has a three tier money handling system, ability to equip items, and you can scale and customize to suit your needs. The code is well documented so you can use your own creativity to expand upon it as you wish.
A working web demo can be found here:
Z-Inventory Web Player Demo