Fix onready dead-end (bug 1061923)
Merge pull request #124 from muffinresearch/fix-1061923

Fix onready dead-end (bug 1061923)