Correcting converter.js