Jquery to vanilla js