use ajax to grab query index options for querystring widget