<script src="fflate.js"></script> <script src="st-playeroutine.js"></script> <script> music.jig( '/path/to/your.jsong' ).then( song=>{ song.play( 0 ); console.log( song ); } ) </script>