Altered person.js and xor.js following feedback