replace obsolete JST references with templateUrl