replace 'js' and 'css' with user-defined groups