don't blow up if @js_env is not set
don't blow up if @js_env is not set

Change-Id: Ic74ae9396345cd630f3121e4fd9ce40acf3dc251
Reviewed-on: https://gerrit.instructure.com/62115
Reviewed-by: Jacob Fugal <f862f167b85d41b225785c70d70808bc7337c1fe@instructure.com>
Tested-by: Jenkins
Product-Review: Rob Orton <7e09c9d3e96378bf549fc283fd6e1e5b7014cc33@instructure.com>
QA-Review: Rob Orton <7e09c9d3e96378bf549fc283fd6e1e5b7014cc33@instructure.com>

narigone/canvas,roxolan/canvas-lms,SwinburneOnline/canvas-lms,fronteerio/canvas-lms,AndranikMarkosyan/lms,sfu/canvas-lms,fronteerio/canvas-lms,dgynn/canvas-lms,leftplusrightllc/canvas-lms,sfu/canvas-lms,leftplusrightllc/canvas-lms,redconfetti/canvas-lms,HotChalk/canvas-lms,leftplusrightllc/canvas-lms,venturehive/canvas-lms,snehakachroo1/LSI_replica,matematikk-mooc/canvas-lms,roxolan/canvas-lms,sfu/canvas-lms,venturehive/canvas-lms,roxolan/canvas-lms,grahamb/canvas-lms,instructure/canvas-lms,redconfetti/canvas-lms,djbender/canvas-lms,dgynn/canvas-lms,venturehive/canvas-lms,SwinburneOnline/canvas-lms,redconfetti/canvas-lms,roxolan/canvas-lms,sfu/canvas-lms,djbender/canvas-lms,instructure/canvas-lms,HotChalk/canvas-lms,snehakachroo1/LSI_replica,narigone/canvas,SwinburneOnline/canvas-lms,dgynn/canvas-lms,redconfetti/canvas-lms,venturehive/canvas-lms,fronteerio/canvas-lms,grahamb/canvas-lms,djbender/canvas-lms,sfu/canvas-lms,fronteerio/canvas-lms,instructure/canvas-lms,HotChalk/canvas-lms,instructure/canvas-lms,instructure/canvas-lms,grahamb/canvas-lms,HotChalk/canvas-lms,sfu/canvas-lms,SwinburneOnline/canvas-lms,matematikk-mooc/canvas-lms,sfu/canvas-lms,instructure/canvas-lms,narigone/canvas,AndranikMarkosyan/lms,matematikk-mooc/canvas-lms,grahamb/canvas-lms,narigone/canvas,dgynn/canvas-lms,AndranikMarkosyan/lms,matematikk-mooc/canvas-lms,snehakachroo1/LSI_replica,leftplusrightllc/canvas-lms,grahamb/canvas-lms,djbender/canvas-lms,snehakachroo1/LSI_replica,instructure/canvas-lms,AndranikMarkosyan/lms