Update htmlclean.js

Changed the line break/tab/space replace so that line breaks and tabs are removed entirely (not replaced with a space) and any number of spaces > 1 are replaced with a single space.