Hey, at least you used !==.

On a related note, I forgot how fucking hard it is to read JavaScript you didn't write yourself. Every time you look at a function, you have to go find something that calls it to find out what the fuck the parameters are.

Absolutely the best thing about the last 6 months is not having written a single line of JS.