checking episodes with ajax