Update mock.js

There is a problem when passing 7 args.