fixed script in IE8