One of many translations of Super Star Trek, from BASIC to JavaScript/HTML