Well, you can use an approach like CosmicOS [1] to bootstrap a functional computer to the alien hardware and then write a JavaScript interpreter and display in that bootstrapped language. In fact autonomous agents might be needed in general due to the long round-trip time of such interstellar messages.
[1] https://cosmicos.github.io/