gameoflife.js imports a constructor function but doesn't call it