how to submit form without submit button using JavaScript