Refactors and cleaning up javascript translations.
Merge pull request #518 from magiclabs/js-translations-cleanup

Refactors and cleaning up javascript translations.