changing api to make search work with AJAX
Merge branch 'master' of https://github.com/benmliang/fieldr