Bug 937769 - JS Error: Error in invoking addEngine, no onError. r=lucasr