recognize content-type of css and js