fix transcode.js