Emscripten port of IDSgrep