Change reference to the DOM once time