removed inline script
moved style block