[BUG #8405] remove code not needed
[BUG #8405] remove console.log() calls
[BUG #8405] copy resources properly