Changed return code values.

Changed return code values to match the returnCodes.js definitions.