Make DOM elements grayscale with jQuery function.