Just import the JS file and use the tag. Example: <minecraft-server src="mc.hypixel.net"></minecraft-server> <script src="mc-server-status.js"></script>