Converted to vanilla JS
Merge branch 'vanilla-js'