Babel

install

Compile

include babeljs in browser

make sure the charset="utf-8" attribute is included

<script src="https://unpkg.com/babel-core@5.8.38/browser.min.js" charset="utf-8"></script>