fix regression with missing class
Avoid eval-able innerHTML in favor of createTextNode (could modify to accept DOM if necessary)