Refactored and added a flag that can be passed as an optional fourth value in $tooltip for unsafe html binding