Fix jshint
Add emit event on stream added