load +main.js with system.import code example
Example: load +main.js with system.import
<script type="text/javascript" src="/system.js"></script>
<script type="text/javascript">
System.import('./build/main.js');
</script>
<script type="text/javascript" src="/system.js"></script>
<script type="text/javascript">
System.import('./build/main.js');
</script>