Add compatibility for IE 8. IE 8 is still not fully supported, but won't die.
Add w.global.
Add debug feature.