updated validation jquery plugin