style and js fixes