Fix for Jasmine tests.