Update quintus_physics.js

refactor to work with current engine