Update README.md

Replaced the function that does not exist in the readme with a piece of code that implements the same functionality. This should give people a easier start with cucumber.js because the Readme.md has more contents that can be tried by copy and paste