Conditional show/hide field not working in Edge or IE