title: Javascript export/import doesn't work
body: <p>I just want to import a custom js module on another js file.</p>
  
  <p>on html head:</p>
  
  <pre><code>&lt;script  src="Dictionary.js" type="module"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="Templates.js" &gt;&lt;/script&gt;
  </code></pre>
  
  <p>On Module:</p>
  
  <pre><code> var Dictionary=function() {...}
   export {Dictionary};
  </code></pre>
  
  <p>On js File:</p>
  
  <pre><code>import {Dictionary} from './Dictionary';
  </code></pre>
  
  <p>I get these errors </p>
  
  <p>On Chrome: </p>
  
  <blockquote>
    <p>Uncaught SyntaxError: Unexpected token {</p>
  </blockquote>
  
  <p>On Firefox</p>
  
  <blockquote>
    <p>SyntaxError: import declarations may only appear at top level of a
    module</p>
  </blockquote>
  
  <p>The two files are in the same folder.</p>