Fixed simulation.js maybe.