Put url template tags in HTML as JS vars