Removing code that has been replaced by HTML5 form validation.