Resolving Jasmine issues