Fixing non-native XOR implementation.  Was broken after making JSHint happy.  Resolves #170