fix supported html5 input types detection