Fix jasmine console warnings