Make sure iframe ready event gets fired in all browsers

Updated to support IE

gulped