fix some js and css errors.