js and css bug fixes