HTML + JS diagrams builder