Stuck in Game of Life project

Hi, everyone
I’m almost done with this project, I used a table for board and td for cells and I think I got all the rules right,
but when I start the simulation it only runs once.

for example the blinker, only rotates once and i have to keep hitting start to get it to oscillate.

I tried using a while loop to keep running through each cell until the alive cells are all dead, but codepen tells me it’s an infinite loop, even though it’s not.

Here’s the codepen link with the sim and the javascript code.

Thanks for the help