add dom.js to project