Bug 782641 - Fixed ReferenceError. r=yoric