To avoid adding the ajax loader in a container with `height: 0px`,  add this line before instanciating the ajaxloader:
```
 this.$container.css({'min-height': '55px'});
```