Changed order of CSS vs JS