Disabled HTML5 validation only in debug mode