Why the script tag that boots the application inserted after body tag.

I am sure there is some reason for this type of insertion (after body tag). Can you tell me why?
Thanks in advance

  <script type="text/javascript">

I need to check with the pas2js team if there is a specific technical reason for this.