Update JinxEngine.js

a few changes to how keyboard input is handled. rather then keeping track of keydown, keyup, key pressed. Its now just checking if a key is being pressed. This could help with performance and still needs a lot of work.