[BUG #8542] Moved the emitter code to a mixing and used the mixin instead of inheritance.
[BUG #8511] Removed old IE8 emitter code