Bug 968093 - Fix JavaScript error: "this._processNextMessage is not a function". r=hsinyi