To verify these artefacts you can simply replace var output = doStretch(inputData, START_RATE); with var output = doStretch(inputData, START_RATE, 2); in your test.js file. The effect sounds like regular clicking artefacts (more or less apparent depending on the type of audio).
My workaround was to declare a single channel of data (although I guess the algorithm will result misconfigured in this case, even if the audio quality is still good). I can provide a complete example if you need to reproduce the issue.
Thanks.