Remove bad calls to console.*