Javascript component to enter numeric values.