JavaScript Best Practices (reveal.js based presentation)