Turns out that that IE doesn't always play well with
In particular, on IE9 calling
console.debug fails with
Object doesn't support property or method 'debug'
console.debug is deprecated, I took this opportunity to
grep and replace
console.debug calls with
console.log but its wise to remember to add the console shim for troublesome older versions.