Switch to input type number for validation

This forces users to input only numbers into
breakpoint fields. It is an extension to #33 and
also targets #30 therefore.