Make sure tooltip text is contrasted towards defined background color
Replaced html entities with actual characters to prevent Javascript crashing in XHTML 5