edit preview js and css