added page loaded function

when the page is loaded it resets the textarea to nothing