A solution for missing conditional statements in IE 11