A minimalist JS text-based adventure engine