cleaning ajax file