adding IE8 script onload work around