removed unused validator JS