There should be a property in script (JavaScript) to define type like
type="module"
so it can be easily treated as JavaScript module and can be use import statement in JavaScript

right now when we use import statement there will be an error that
SyntaxError: Cannot use import statement outside a module.
There are no proper solution to that