Mocking techniques for client and server JavaScript