A port of my mumble-widget code to Javascript.