Ready event should trigger after escaping the current call stack