Tidx is a javascript based text indexing library.