try { searchAsYouType.handleAjaxResponse( { "query":"@author Pitbull @title I Know You Want Me" , "results": [ { } ] }); } catch(e) { };