Bug 884810 - ctx.ready does not register event listener target if available. r=stas