added vanilla javascript example
...