Fix custom.js, we can't use console.debug() in IE.