Update html-to-text.js

Fixed a formatting issue with the try/catch blocks.