Make use of WCF.Template (JavaScript)