updated how the javascript i18nValues are stored in the bundle and setup javascript localize function