Start using ES6
What if I told you there was an easy way to fix most of this frustration?
https://babeljs.io/ is a tool that lets you transpile your ES6 code into ES5. This gives you access to all the awesome functionality that ES6 introduces. Generators, arrow functions, classes, template strings, destructuring, enhanced object literals, and modules are features that will improve your code and make coding more pleasant.
With node, I’ve found that using the require hook is the way to go. Since ES5 is valid ES6, you can add this to an existing code base and slowly start the migration.
In the browser, a compilation step will be needed before your code has been deployed. You can use the CLI or integrate with your preferred build tool.