modified CSS and added javascript