js: add html titles to tags and links