Fixed CSS
Added javascript and implemented simple functions