Minor fixes to #1250 (karma task url), fix win encoding in template helper file 

Minor fixes to #1250 (karma task url)
Fix WIN encoding in template helper file