[javascript] How to empty the content of a div