Update JavaScript1.js

added enter key submit