I have a text input field which works great if I update it myself when typing inside it, however, what I need is to have this input field be populated with data from javascr