I agree, but the clickover API moves the `.notifications-widget`'s innerHTML into the clickover, which means that $('#template', $rootel) will be undefined if the template is moved outside of the container.