Fix onready dead-end (bug 1061923)

See https://bugzilla.mozilla.org/show_bug.cgi?id=1061923

r? @kumar303 
when ... called? (typo)