renamed certain variables (translator.js)

renamed variables due to clarity / language