Javascript Client of River.IO