Working  on the jquery validation and local storage