Adding error message when initial ajax call fails