changed click event to focus

because we really want highlighting to go away when the user is entering
something new

also replaced alert with console.log on the submit stuff