get rid of xhtml forever
typeof not property