Removing debbuging logs from plugins.js
Updating addToCollector function