Added fallback for browsers that not support the new html5 input types