Fine tuning of template and javascript transforms.

+ updated Razor and defaulted to removing records from TflBatch rather
than dropping and re-creating it.