replacing the DOM el