Vanilla javascript