Add repositories to the javascript object
Update ontology index for search
Do search without compiling error