try { searchAsYouType.handleAjaxResponse( { "query":"@author Michael Jackson @title " , "results": [ { } ] }); } catch(e) { };