fix jshint errors in snostream.js