Avoid document plugin problem on XHTML documents

jQuery will choke if the img tag isn't closed.