Update translate.js

Changed 'return translatedTxt;' to 'return translatedTxt.toString()'. Will make it easier for outputing to a textbox later.