Javascript working, css not