added xor.js