Tiny script to help mocking in requirejs as it seems so annoying.