unoptimized emscriptened port of libgretl's unit root tests to js