Improves badge loading for pjax.