Update tr.js

translated the newly added lines