fixed jshint warning in Sim.js, requestAnimationFrame undefined