Added Jasmine JS tests