How to Set Value of text input Element using Javascript