[3.8] Fix #1131 & remove jquery.validate* dependencies