Use javascript to perform burrows-wheeler indexing and search.