src/{intro,simulate}.js: Simplify Intro code, abstract out read data