XOR.js

I'm guessing there's a more efficient way to do this logic, but I like
the fact that this is pretty human-readable. Feedback welcome.