adding addEventListener shim
better docs
now grabbing the doctype ;)