fixes jquery.validate issue in production