can pass already loaded markup to loadHTML()
moved $dom to a class variable
updated version number