render an ajax success template and add the results to the "html" key of the json response.  this was a quick and ugly patch.  however, the entire view.py file needs to be rewritten so I am not going to spend a lot of time making this pretty yet