fixed enter key bug
Limiting input into d3Array.