ws.html now declares kvdb