Wrote a node placement tool in Javascript