Form not performing validation in IE