validating form with modernzr