Renamed text.js to dom.js