some fixes and optimization

some fixes and optimisations were made to the Google Translate API
wrapper