get content models with ajax