onfocusout if statement preventing validation