Minor style and js fixes