jquery function for name validation works!