fix LOLCALIZE, closes CNVS-12847

test plan:
1. run canvas w/ LOLCALIZE, e.g. LOLCALIZE=1 script/server
2. behold the lulz
3. behold the lack of javascript errors

Change-Id: Ib46d5fc267cf743b4a9ac367d75be8a3b4b1702d
Reviewed-on: https://gerrit.instructure.com/34275
Reviewed-by: Dave Donahue <ddonahue@instructure.com>
Reviewed-by: Landon Wilkins <lwilkins@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
Product-Review: Marc LeGendre <marc@instructure.com>
QA-Review: Marc LeGendre <marc@instructure.com>