added implementation to support first example for cucumberjs blog series.