remove console.log and whitespace