javascript and css override fix