Try here - I use this also and its is very effective - I modified the script for my purposes to keep listenting until a short period of silence and to move the rendering of the mic button to the end of the texarea