Update notesApp1SpecWithSpyReturn.js

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