last bits of css and js, refactored to use main.css