Javascript ES6 - Understand the Differences Between import and require