Demo: "oldscript.js" source:

var petname="Spotty"
alert("Pet Name: " + petname)

"newscript.js" source:

var petname="Beauty"
alert("Pet Name: " + petname)

"oldstyle.css" source:

#demotable2 td{
background-color: lightyellow;
}

#demotable2 b{
color: blue;
}

"newstyle.css" source:

#demotable2 td{
background-color: lightblue;
}

#demotable2 b{
color: red;
}