Not working, but I have made further progress with my game. I learned that there is no such thing as pausing in JavaScript so I have to re-think the progression of my game. I quickly glanced at how other people implemented their Simon game and I now have a rough idea of how I can solve this without copying code.
First fully functional version.