add pages to category with ajax