externalized js
added form submit event for enter key