Redirect also if AJAX request