fixing script load order for IE