Those were to make jshint happy: var notification = ... only will trigger 'defined but not used', and removing the |var notification| would complain about new. This was a temp fix