Update dom.js

Adding new methods and updating old