added error handling for image load, in Item.js