requestUpdate throws a TypeError due to undefined:
.../rfb2/rfbclient.js:446
tile.foregroundColor.copy(tile.buffer, offset);
^
TypeError: Cannot call method 'copy' of undefined
I noticed that foregroundColor was misspelled ("foreroundColor", missing a 'g'). I fixed the naming, but that didn't solve it.