update README with ES6 syntax