switch order of inline js and css to avoid cascade issues if the inline css came after the full css