A JS framework for creating component diagrams