Vehicle Assignment Adding Vslidation in JS