Create index.js

This function allows you to accept only numbers in an input element of your html form.
Only work for an english keyboard