added i18n support and tooling
moved stuff from index.html to lingua.js