Fixed styles and js errors