Remove debugging messages and enable firebug on demand for save()