improved disposition of css and js