Adds language support for WCF.Template
Fixes some code issues in WCF.js