Fix for jquery.validate bug - 'dependency-mismatch'