DOM-less, Library-less JavaScript [course notes]