I am trying to update text element and then click a button using java script but have no luck with the value of the text element being the value that I programmed. It reverts b