refs #3977 remove console.debug and console.log calls if build type is production