Adds js translation feature, building upgrade requirements and minor refactorings.