Added error callback for elements and fixed IE onload event
Now you can use the script with this two functions: 'eachSuccess' and
'eachError' instead of 'each'