Removing window.clear overwriting string now