Deprecated js vars will be instantiated in the deprecated js script file
* Localize js vars into script file
* Script file extracts variables from lcoalization structure and puts them into 'var' replicating prior behavoir