Namespace window event attachment