Minimalistic javascript mocking framework