Used Jasmine jQuery for tests instead