HashLife in Functional JavaScript