Conways Game of Life Javascript