Emscripten-built JavaScript port of the I3S Classic/Spot algorithm