Css and js improvements for main page