Modify ajax task