Fixing for jQuery 1.9

A problem with html parsing. 
http://stage.jquery.com/upgrade-guide/1.9/#jquery-htmlstring-versus-jquery-selectorstring