<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="css/chessboard-1.0.0.css">
<script type="text/javascript" src="js/jquery.js"></script>
<script type="module" src="js/gitchess/chess.js"></script>
<script type="text/javascript" src="js/chessboard-1.0.0.js"></script>
<script type="module" src="js/frontend.js"></script>
<title>CHESS</title>
</head>
Since objects inside chess.js aren't accessible unless they are import
'ed, are they loaded into a separate file? For that matter, how are module scripts loaded into DOM as opposed to regular scripts?