jquery validation for book's pages