createItem.js cleaned up, delete item button fixed