added javascript, modified CSS