Not sure about this particular example but you might want to use .text() instead of .html() since it would make more sense in a bit. (even though we are totally aware that the string is not a valid HTML)
http://stackoverflow.com/questions/1910794/jquery-text-vs-html