fix undefined call to page blocker on ajax request