Fix threport.js.