simple text adventure game in javascript