Changed some CSS and JS code