use jQuery.ajax instead of jQuery.post with dataType for search queries... I think adding the accept header is resolving some CSRF token validation issues.

seems to