more libtorrent-webui.js work. fix some websocket bugs in mongoose wrapper, make example html actually work