Fixed conditional testing to see if localizations have already been applied. Defect was introduced in last commit.
Merge branch 'eliminate-dynamic-js' into customer-meta-and-checkout