The issue you're facing is due to your trigger call, spinResult.trigger(). The trigger function only takes one argument. If you want to supply multiple parameters to the callback, you can send them in an array.
For example: Here's what the trigger line should look like to rectify this issue:
nc.appEvents.spinResult.trigger( [5, "7777"] ); // pass in the args as an array