moved scripts to after stylesheets for better page rendering