modify ajax url and time format