How to prevent form submission upon hitting enter key?