added parsleyjs validation