Text based interactive fiction game engine in Javascript, HTML and CSS