update mocks.js

will be replaced with better approach soon