How can I use Javascript to switch the keyboard to digits for a web app