Adding JS config templating