Adding jQuery to avoid using innerHTML (which unescapes html entities and doens't work in IE)