title: using es6 modules: Uncaught ReferenceError: define is not defined
body: <p>I want to use es6 modules and I installed babel plugin (es2015-modules-amd) for them. But what I write in the module is not imported to the main file, console errors: " Uncaught ReferenceError: define is not defined" at the first attempt to import anything. 
  Same thing has happened when I tried to use common.js with those require statements, console just has pointed, the error and that require is not defined too.
  What is it?</p>