Add HTML example to SLIDE.md

* rewrite the JS example too