Full text search engine for JS environments