Changed return code values.

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