Fixed script tag issue leading to empty base_uri