reorganised js script tags