Add new habit ajax errors handling