updated js so user can presss return instead of hit button