Cleans up code and setup

ES6 JSHint settings, proper styling of generators.