update default style in js and css