Babel transform

Transform modern JavaScript for older browsers using Babel preset-env.