Equality operators (==) changed to identity ones (===) according to Douglas Crockford's book advice.