how to implement text to speech in javascript using speech synthesis (1)