adding dom.ready