How different is CommonJs require from ES6 import?