Updated README.md

Error with the syntax of the forEach method. Should be encapsulated in a callback function.