Fix for Jasmine