Fixed return codes to match definitions.

Fixed return codes to match definitions in returnCode.js