Properly escape CourseKeys and UsageKeys in html templates

Typo here - encodeURIComponent()