Move utils functions outside of main format
diff --git a/R/utils.R b/R/utils.R
index 2d7de47..f681e24 100644
--- a/R/utils.R
+++ b/R/utils.R
@@ -3,4 +3,7 @@
   system.file("rmarkdown/templates/revealjs_presentation/resources",
               ...,
               package = "revealjs")
-}
\ No newline at end of file
+}
+
+# Convert boolean from R to JS boolean
+jsbool <- function(value) ifelse(value, "true", "false")
\ No newline at end of file