fix IE11's false positive number support with checkValidity

fixes \#1376