HOTFIX: removing loading layer also after an ajax failure