Simple update with fixed deltaT that is aware of relevant input events. Light/extendable js-game-engine.