adding type to css and js