Tested and edited function.js

Change the key names for the object which curryNthArg()
takes as argument to be hopefully easier to remember.
Changed o.default to o.def

default is a javascript keyword.