Pure JavaScript SPICE client