conditionals for js in IE