Clietn jquery: working on validation