Fix onready hang (bug 1032211)
Merge pull request #76 from muffinresearch/fix-onready-hang-1032211

Fix onready hang (bug 1032211)