add function for css and js