Added Formatting & comments for translator.js