reordered placement of script tags