Fix js and css bug