Made changes in CSS and JavaScript