Defined base methods for extracting css and js