Update JinxEngine.js

fixed a few errors that where made from the last update. also now passing the engine in the objects update function