replace js and css syntax