allow for the use of input type="tel" for the phone input formatting

I'd like to use the `tel` input type for the phone formatting but the JS is currently scoped to only allow `text` input types. I've changed it so that it'll accept both.