Update items.js

added basic item functionality 
Merge pull request #2 from fae2day/patch-3

Update items.js