Wrote basic javascript methods for asynchronous search queries
Ensured that search results do not return unlinked text documents