Javascript Imported Variable Works But Is Not Defined

Javascript Imported Variable Works But Is Not Defined