Use e.wrappedJSObject.detail if e.detail is undefined