I wrote a trivial implementation of RDP in JavaScript to help me understand how it works.
It's called bucky-rdp (about 200 lines of heavily commented code).
It currently supports Sirea's bconst, bpipe, and bfmap.
Here's an example:
(This post refers to v1.0.1)