life.js

Updated life.js to Node style