Form Javascript is not working on Internet Explorer 7