added i18n testing and improvement to support JS bundles