'Secure' interpreter? Fair enough. I'm afraid that would likely make it harder to get started though. Not to mention that JS probably has support for better graphics assets than a regular text game interpreter.
"JS probably has support for better graphics assets than a regular text game interpreter."
This game was billed as a "minimalist text-based game", for which any of the standard Interactive Fiction interpreters would have been more than adequate.
Incidentally, many of these IF interpreters are able to display graphics, and sometimes even sound -- though the usefulness or appropriateness of those features in the context of IF is debatable.