log to the dom