[javascript] How to fill in form field, and submit, using javascript?