Enable lifecycle events for the any DOM element