fixed errors preventing IE >=8 form working