fixes the script tag placment