Adapting to CSS and JS files