Added css/js filtering functions to allow excluding certain types of files (experimental for now).