send status with ajax