Update mock.js

adding support for scope & scenario