Updated to use template_dirs for deckJS instead