Adds badges view for pjax app.