Removed dom.text from index.js