Remove logs in loop.js