keypress enter now works

added Randy's js fixes to get <enter> to work, allowing removal of the
form button.