Update LogsAgreggator.js

fix bug