Update bydate plugin.
Simplify retrieving of language locale in html tag.
Set valid RFC 1766/ISO 639 language locales.