Made script loader complete callback capable with ie8