typeof checked against a non-standard string, best not to throw an error at all

This was a pretty dumb thing for me to commit. It's bad practice to check typeof against anything besides "function" and "object". Let's just get this out of there.