console.log debug calls are made only if IE>8 or on modern browsers