Fix 'missing reference to e' bug in DOM.init