		}
				records = await storage.selectFirst(roomId, 15);
			}
			console.log(records, "records");
			const nodes = records.map(r => {
				const li = document.createElement("li");
				li.appendChild(document.createTextNode(r.message));
				return li;
			});
			const parentNode = document.getElementById("messages");
			nodes.forEach(n => parentNode.appendChild(n));
		})();

	</script>
</body>
</html>