javascript how to create a language button function With create html email template online