javascript i18n and german translation

fixes #12