submit function onkeyup is a bitch