corrected js/css bugs