Shows the debug option. Moves <script> tags

Moves <script> tags on top of the page to prevent flashing effects on render.