design and js fixes