add grayscale filtering support for Firefox