start moving the loading message bits out to methods
move error loading message to methods
move error message handling to a method
early return to de-nest ajax call