Update README.md

I suppose that it should be

    foo = [{name: 'foo'}, {name: 'bar'}];

instead of

    foo = [{name: 'foo', name: 'bar'}];