add comments and todo's explaining the yucky dom event reg hack