added add-translation js function for token page

only for logged in users, in place of hide translations.