console.log() throws an error in IE <=9 when you don't have the debugger open. So put in a code snippet that will serve as a placeholder. Raphael.js isn't supported in old IE, so have a workaround.