Revised google translate widget. Seems to have error on the current function