convert.js changes