poll notifications with ajax