Update random-user.coffee with new API syntax

As suggested in #1101
Merge pull request #1102 from spajus/patch-1

Update random-user.coffee with new API syntax