Javascript Promise Chain Visualizer