The variable onramp appears in the html examples, but it is never declared or initialized.
For example in the walkthru
onrampServer.on('message', function(peerAddress){
// 3. Connect to another browser which is
// connected to the WebSocket server
var peer = onramp.connect(peerAddress);