Updated javascript to put focus on password field.