Added a die to the ajax