fix CSS and JS layer