Broke non-gameObject code in gameObject.js to its own file. Added missing clear function in eventSequence