Initial fix.
Fixing Jasmine tests.