DDF-655 - wrapped console calls with if statements to handle IE8-