How can I set the html of a window body on the client side?