ajax handle of time