Add custom attributes for CSS and JS files

Sometimes it is necessary to add attributes to a stylesheet like { media: 'only screen and (max-width: 300px)'}
Also implemented for scripts