support for data-baseURL in <script>