Create simulator.js