Update dom.js

changed loop in **domReady()** so it doesn't have to look up the length each time