Demo:
"oldscript.js" source: 222222

var petname='rukker2'
alert("Pet Name: "+petname)

source: "newscript.js"

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

"oldstyle.css" source: 333333

.td{background-color:linear-gradient}

#demotable2 b{color:}

"newstyle.css" source:

.td{background-color:red}

#demotable2 b{color:green}