Update notesApp1SpecWithSpies.js

To fix errors for karma with jasmine unit testing when using jasmine 2.0.