Improved text on handling the DOM