Most of the scripting is done in index.js. https://reactdisplaybutton.herokuapp.com/ for the simulation!