Update header comments
Cleanup, fix context passing, fix event passing for IE8