changed position of script tags