Added comments to converter.js