wrapped simulation.js in a namespace.