Fix loading on IE8

http://stackoverflow.com/questions/4921712/load-event-with-jquery-fails-in-ie-8