Move inline JavaScript to be above any external css files