use $.parseHTML when available (overwrite mistaken commit)