Add error state after ajax call

usefull for IE debuging