Compatibility with Safari 5.1 on delete img.onload
Fixing extra semi-colon