Real Time Message Protocol (RTMP) messaging library in JavaScript