SEE #20
Adds most of the infrastructure for a javascript-based websearch.