removing console.log from javascript