Fixed search and added autocompletion (please check out api.html)