Added: i10n_getJsTranslations() function which allow to translate JS scripts
Cleanup
(cherry picked from commit eab4604)