Fix typo in console error message

Thanks for this library!

I just came across this typo and thought I'd fix it.