TODO add parameterization to use different lexicon servers
moving search.js into the libs, and out of the angular website so it doesnt get lost in a website refactor