Modern JavaScript: Using ES6, NPM, Babel and Webpack - Rendering an AJAX Loading Spinner