fix onReady in ie8 if loaded deferred