Fix CSS bugs and add Jquery features