copy release dir from pdftex.js