cleaning ajax request