Ah, gotcha. If you have the console open at the time when the warning is triggered, you should be able to get a backtrace by clicking on the arrow beside the warning -- that will show you whereabouts in the code the problem is.
At least that's how it works in Chrome, I think Firefox does the same.
At least that's how it works in Chrome, I think Firefox does the same.