style tweaks and js fixes