Add <script> tags for preamble when optimization=none