Fixed css and js errors