ESVer is a tiny and convenient helper script to get you out of the overhead hell for the browsers that don't really need it. It detects whether a browser supports ES6/ES2015 standard natively and allows you to load different script versions depending on the result of this check.
Include your scripts like this:
<script src="path/to/esver.js" data-es6-src="path/to/modern.js" data-es5-src="path/to/legacy.js"></script>
As the actual target is detected, this declaration gets replaced with an actual <script>
element containing the selected script path.
Try to go to the demo from different browsers to see different messages about platform support.