Removed e.charCode === 0 check from the code to capture enter key since it was not working in Chrome. Also added enter key submission for nickname submission.