[#5423] add media argument to the regClientCSS method