added assign variable at enter keydown in player-name text area function