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