replace asset strings in compiled views