added suport for stylesheets and javascripts