dom.js module added, interface slightly updated and README updated.