Loading click event handling for pjax requests and fallback.