self_contained support for revealjs