Made sure multiple <script> tags don't cause multiple executions of initialization code.