Updated Node.js checkUnique value to matchup with the client-side API that's being used.