Javascript typing-test style string matching tool