Below is a simple text-to-speech application implemented in JavaScript, using the HTML5 Web Speech API.
To see the source code, or to make a comment, visit https://thiscouldbebetter.wordpress.com/2015/09/05/a-simple-text-to-speech-application-in-javascript-with-the-web-speech-api/.