Overcomplicating the JS
Demos for first few lines