Add conditionals for IE support variables

Wrapped IE output in a conditional so it wouldn't always output.