ajax.js try catch in complete