Added debugging to webkit speech API code