update isElem() to be case-insensitive
added remove text/fonts/foreignobject plugins