New jt-translate module added, optimized jt-scale module, partial refactoring