modularize reveal.js markup