Avoid the duplicates id in extra/headerids

And some enhancements, a trimWhitespace in util/html and change Aloha.bind for PubSub.sub in extra/headersid