Second arg of $.parseHTML can only be a document. Close gh-281.