fixed the last parts of the bookmarklet + error handling in tts