Javascript Login Form Validation

Note : For this demo use following username and password.
User Name : Form
Password : #123