codemod server side with js-beautify
Remove redundant _callback code encapsulation; Remove old and ugly 'var self = this' style
Make sure the game cursor is drawn last, so it's above every other UI element
Added missing .bind(this)
Handle multiple events triggering properly