remove debug consoles from js part of plugin