add some more translations, refactor js translator