fix javascript i18n requires in development mode.
fix javascript i18n requires in development mode.

use_optimized_js? was previously returning nil, creating a syntax
error. now returns false.

Change-Id: Ib445194a968af0676d3315e202d0609a056cd847
Reviewed-on: https://gerrit.instructure.com/8711
Reviewed-by: Ryan Florence <2d8900489f91ac272fd9ce9d5789db6522668ca2@instructure.com>
Tested-by: Ryan Florence <2d8900489f91ac272fd9ce9d5789db6522668ca2@instructure.com>

Unow/canvas-lms,gbleydon/canvas-lms,jay3126/canvas-lms,parbros/red-innovadores-lms,snehakachroo1/LSI_replica,HotChalk/canvas-lms,instructure/canvas-lms,skmezanul/canvas-lms,shidao-fm/canvas-lms,eCNAP/CANVAS,matematikk-mooc/canvas-lms,skmezanul/canvas-lms,snehakachroo1/LSI_replica,tgroshon/canvas-lms,Unow/ins,arrivu/arrivu-lms,jay3126/canvas-lms,sdeleon28/canvas-lms,samuels410/greatlakes-lms,rup/Tarrax,venturehive/canvas-lms,icelab/canvas,landonwilkins/canvas-lms,fronteerio/canvas-lms,parbros/red-innovadores-lms,jay3126/canvas-lms,SwinburneOnline/canvas-lms,sli7246/canvas_branch,usmschuck/canvas,greyhwndz/canvas-lms,em2/canvas-lms,merichar/canvas-lms,sdeleon28/canvas-lms,kyroskoh/canvas-lms,instructure/canvas-lms,leftplusrightllc/canvas-lms,kyroskoh/canvas-lms,arrivu/hiring-site,arrivu/hiring-site,usmschuck/canvas,AndranikMarkosyan/lms,sfu/canvas-lms,sdeleon28/canvas-lms,venturehive/canvas-lms,eCNAP/CANVAS,ottenhoff/canvas-lms,va7map/canvas-lms,arrivu/hoodemo,shidao-fm/canvas-lms,tgroshon/canvas-lms,greyhwndz/canvas-lms,nditech/red-innovadores-lms,efrj/canvas-lms,Unow/ins,venturehive/canvas-lms,AndranikMarkosyan/lms,va7map/canvas-lms,ShreniiNepal/shrenii_lmp,ankithbti/canvas_lms,antoniuslin/canvas-lms,tgroshon/canvas-lms,va7map/canvas-lms,ShreniiNepal/shrenii_lmp,wrdsb/canvas-lms,venturehive/canvas-lms,narigone/canvas,roxolan/canvas-lms,utkarshx/canvas-lms,Rvor/canvas-lms,Jyaasa/canvas-lms,va7map/canvas-lms,whalejasmine/canvas-lms,landonwilkins/canvas-lms,snehakachroo1/LSI_replica,em2/canvas-lms,loganrun/pincan,sfu/canvas-lms,merichar/canvas-lms,matematikk-mooc/canvas-lms,arrivu/jigsaw-lms,wye0220/shindig-canvas,sfu/canvas-lms,utkarshx/canvas-lms,eCNAP/CANVAS,arrivu/qibla-ecampus,matematikk-mooc/canvas-lms,instructure/canvas-lms,fronteerio/canvas-lms,SwinburneOnline/canvas-lms,arrivu/hoodemo,matematikk-mooc/canvas-lms,sfu/canvas-lms,rup/Tarrax,efrj/canvas-lms,instructure/canvas-lms,arrivu/jigsaw-lms,leftplusrightllc/canvas-lms,Unow/ins,loganrun/pincan,ankithbti/canvas_lms,nditech/red-innovadores-lms,SwinburneOnline/canvas-lms,wrdsb/canvas-lms,juoni/canvas-lms,wimemx/Canvas,redconfetti/canvas-lms,juoni/canvas-lms,fronteerio/canvas-lms,arrivu/arrivu-lms,ShreniiNepal/shrenii_lmp,redconfetti/canvas-lms,efrj/canvas-lms,samuels410/greatlakes-lms,kyroskoh/canvas-lms,shidao-fm/canvas-lms,roxolan/canvas-lms,skmezanul/canvas-lms,djbender/canvas-lms,rup/Tarrax,Rvor/canvas-lms,leftplusrightllc/canvas-lms,Jyaasa/canvas-lms,redconfetti/canvas-lms,roxolan/canvas-lms,instructure/canvas-lms,AndranikMarkosyan/lms,nditech/red-innovadores-lms,samuels410/greatlakes-lms,wimemx/Canvas,landonwilkins/canvas-lms,HotChalk/canvas-lms,dgynn/canvas-lms,djbender/canvas-lms,instructure/canvas-lms,eCNAP/CANVAS,wrdsb/canvas-lms,arrivu/hiring-site,utkarshx/canvas-lms,dgynn/canvas-lms,utkarshx/canvas-lms,wye0220/shindig-canvas,sdeleon28/canvas-lms,SwinburneOnline/canvas-lms,landonwilkins/canvas-lms,greyhwndz/canvas-lms,whalejasmine/canvas-lms,roxolan/canvas-lms,arrivu/arrivu-lms,sli7246/canvas_branch,antoniuslin/canvas-lms,sfu/canvas-lms,Rvor/canvas-lms,snehakachroo1/LSI_replica,loganrun/pincan,djbender/canvas-lms,Unow/canvas-lms,dgynn/canvas-lms,usmschuck/canvas,Unow/canvas-lms,arrivu/hoodemo,sli7246/canvas_branch,narigone/canvas,efrj/canvas-lms,grahamb/canvas-lms,em2/canvas-lms,shidao-fm/canvas-lms,djbender/canvas-lms,ottenhoff/canvas-lms,narigone/canvas,arrivu/jigsaw-lms,dgynn/canvas-lms,skmezanul/canvas-lms,merichar/canvas-lms,sfu/canvas-lms,instructure/canvas-lms,grahamb/canvas-lms,antoniuslin/canvas-lms,whalejasmine/canvas-lms,Rvor/canvas-lms,juoni/canvas-lms,icelab/canvas,grahamb/canvas-lms,usmschuck/canvas,HotChalk/canvas-lms,Jyaasa/canvas-lms,wimemx/Canvas,icelab/canvas,tgroshon/canvas-lms,arrivu/qibla-ecampus,sfu/canvas-lms,wye0220/shindig-canvas,narigone/canvas,arrivu/qibla-ecampus,wrdsb/canvas-lms,juoni/canvas-lms,antoniuslin/canvas-lms,ankithbti/canvas_lms,ottenhoff/canvas-lms,kyroskoh/canvas-lms,gbleydon/canvas-lms,greyhwndz/canvas-lms,whalejasmine/canvas-lms,grahamb/canvas-lms,leftplusrightllc/canvas-lms,redconfetti/canvas-lms,nditech/red-innovadores-lms,fronteerio/canvas-lms,jay3126/canvas-lms,parbros/red-innovadores-lms,samuels410/greatlakes-lms,HotChalk/canvas-lms,grahamb/canvas-lms,AndranikMarkosyan/lms,ShreniiNepal/shrenii_lmp,gbleydon/canvas-lms,Jyaasa/canvas-lms