fixed order of script tags