minor: secure conection to waveJS js API