Language fixes.

This fixes up the login template.
Revamp of the lang.js file.