Remove useless console.log and comments