added onerror handler to the image loader
dded an onerror handle in the image plugin - fixed indentation
Merge pull request #19 from janesconference/master

Added an `onerror` handle in the image plugin.