jQuery's 'once' method in VanillaJS