A source code editor with built-in support for JavaScript.
ClickCharts Flowchart Pro Edition allows you to create visual representations.
It is a visual IDE with In Circuit Debugging (ICD) capability.