jQuery mocked with Sinon.js for unit testing.