Synchronizing fireflies using JavaScript and D3.