fixed script loading for IE