Added some more javascript examples.

check.php and login.html now have email fields.
@Mrinal, check if anything else needs to be changed.