Fixes UI template <script> link