ENYO-3082: Pass an Error object to next (instead of a plain string)...

Done with:

 perl -MRegexp::Common -p -i -e 's/next\s*\(($RE{quoted})\)/next(new Error($1))/;' $(find [adhpsu]* -name '*.js')