<html>

<head>
    <title>Haxe JS</title>
</head>

<body>

    <!-- Your Haxe compiled script -->
    <script type="text/javascript" src="https://unpkg.com/tone@13.8.25/build/Tone.js"></script>
    <script type="text/javascript" src="MainTone.js"></script>

</body>

</html>