moved inline script before css to allow parallel processing