make trans.js save after parse