Updated code and notes for web speech API