added js game of life