Does this work on IE? I know console.log does not. (not that I like window.alert here either!)