Use hashchange event to monitor AJAX pageloads