fixes <IE9 bug when console isn't open

having console.log in the code causing IE8 and IE9 to break when the developer tools aren't open, I don't see any reason for it to be there anyway.
Merge pull request #156 from EC-Joe/patch-1

fixes <IE9 bug when console isn't open