Compile templates as a browserify transform