Update resource.js

Changed parameter name to @userId, as otherwise User.get({userId:123},...) would not cause to replace the placeholder :userId with the value 123