UPDATE: escapeHTML function

Will now convert what is sent to a string before attempting to re-write
the string.  This should cut down on the number of errors this function
throws and speed up development time.