Replacing callbacks with ES6 Generators [flippinawesome.org]