another edit to xor.js