Fallback to global in absence of module.parent
Fix Hub.uninstall
Avoid IE8 bug when deleting from window
Extract LayerGroup