cleaned up items.js