Updated documetnation for version 2
Merge branch 'gh-pages-vanilla-js' into gh-pages