moving script tags just before </body>